use std::collections::HashMap;
pub fn new_count_distinct(input_str: &str) -> usize {
    let mut words=HashMap::new();
    let mut ans=0;
    for word in input_str.split(","){
        if !words.contains_key(word){
            words.insert(word,1);
            ans+=1;
        }
    }
    ans
}
